PHY GET CLOTH GRAVITY

Determine the gravity property of the cloth.

  Syntax
Return Integer=PHY GET CLOTH GRAVITY(ID)
  Parameters
ID
Integer
identification number of the cloth object

  Returns

a value of 1 is returned when the cloth responds to gravity and 0 when it does not

  Description

Use this command to find out if the specified cloth object responds to gravity. When gravity is disabled for a cloth object it is not subject to gravitational force.

  Example Code
No example code is provided for this command